package com.solution.admin.product.entity;

import java.util.List;

import com.solution.common.entity.BaseEntity;

/**
 * 商品类别信息实体类
 * 
 * @author xu_cc
 * @date 2017-08-31 23:52:27
 */
public class ProductCategoryEntity extends BaseEntity {
	private static final long serialVersionUID = -3926291988306842687L;

	/**
	 * 类别名称
	 */
	private String categoryName;

	/**
	 * 类别图片
	 */
	private String categoryImage;

	/**
	 * 类别描述
	 */
	private String categoryIntro;

	/**
	 * 类别首字母
	 */
	private String categoryLetterFrist;

	/**
	 * 父级品类编号
	 */
	private Long parentCategoryId;

	/**
	 * 类别路径
	 */
	private String path;

	/**
	 * 类别中文名称路径
	 */
	private String categoryNamePath;

	/**
	 * 广告图片
	 */
	private String advertisementImage;

	/**
	 * 广告路径
	 */
	private String advertisementUrl;

	/**
	 * 关键字
	 */
	private String keyword;

	/**
	 * 商品数量
	 */
	private Integer productAmount;

	/**
	 * 排序编号
	 */
	private Integer sortNo;

	/**
	 * 二有商品类型字符串（查询映射使用）
	 */
	private String subCategoryListStr;

	/**
	 * 二级商品类型
	 */
	private List<ProductCategoryEntity> subCategoryList;

	/**
	 * 下级子分类关联的所有品牌（不包含本身）
	 */
	private List<ProductBrandEntity> subBrandList;
	
	/**
	 * 是否为父节点
	 */
	private String isParent;

	/**
	 * 类别名称
	 */
	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	/**
	 * 类别图片
	 */
	public String getCategoryImage() {
		return categoryImage;
	}

	public void setCategoryImage(String categoryImage) {
		this.categoryImage = categoryImage;
	}

	public String getCategoryIntro() {
		return categoryIntro;
	}

	public void setCategoryIntro(String categoryIntro) {
		this.categoryIntro = categoryIntro;
	}

	/**
	 * 类别首字母
	 */
	public String getCategoryLetterFrist() {
		return categoryLetterFrist;
	}

	public void setCategoryLetterFrist(String categoryLetterFrist) {
		this.categoryLetterFrist = categoryLetterFrist;
	}

	/**
	 * 父级品类编号
	 */
	public Long getParentCategoryId() {
		return parentCategoryId;
	}

	public void setParentCategoryId(Long parentCategoryId) {
		this.parentCategoryId = parentCategoryId;
	}

	/**
	 * 类别路径
	 */
	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	/**
	 * 关键字
	 */
	public String getKeyword() {
		return keyword;
	}

	public void setKeyword(String keyword) {
		this.keyword = keyword;
	}

	public String getAdvertisementImage() {
		return advertisementImage;
	}

	public void setAdvertisementImage(String advertisementImage) {
		this.advertisementImage = advertisementImage;
	}

	public String getAdvertisementUrl() {
		return advertisementUrl;
	}

	public void setAdvertisementUrl(String advertisementUrl) {
		this.advertisementUrl = advertisementUrl;
	}

	/**
	 * 商品数量
	 */
	public Integer getProductAmount() {
		return productAmount;
	}

	public void setProductAmount(Integer productAmount) {
		this.productAmount = productAmount;
	}

	/**
	 * 排序编号
	 */
	public Integer getSortNo() {
		return sortNo;
	}

	public void setSortNo(Integer sortNo) {
		this.sortNo = sortNo;
	}

	public String getSubCategoryListStr() {
		return subCategoryListStr;
	}

	public void setSubCategoryListStr(String subCategoryListStr) {
		this.subCategoryListStr = subCategoryListStr;
	}

	public List<ProductCategoryEntity> getSubCategoryList() {
		return subCategoryList;
	}

	public void setSubCategoryList(List<ProductCategoryEntity> subCategoryList) {
		this.subCategoryList = subCategoryList;
	}

	public String getCategoryNamePath() {
		return categoryNamePath;
	}

	public void setCategoryNamePath(String categoryNamePath) {
		this.categoryNamePath = categoryNamePath;
	}

	/**
	 * @return the subBrandList
	 */
	public List<ProductBrandEntity> getSubBrandList() {
		return subBrandList;
	}

	/**
	 * @param subBrandList
	 *            the subBrandList to set
	 */
	public void setSubBrandList(List<ProductBrandEntity> subBrandList) {
		this.subBrandList = subBrandList;
	}

	public String getIsParent() {
		return isParent;
	}

	public void setIsParent(String isParent) {
		this.isParent = isParent;
	}

}
